package com.itheima.pojo;

import java.util.Date;

public class Commodity {
    private String NAME;
    private int price;
    private int sales_volume;
    private Date produced_date;
    private String category;

    public Commodity() {
    }

    public Commodity(String NAME, int price, int sales_volume, Date produced_date, String category) {
        this.NAME = NAME;
        this.price = price;
        this.sales_volume = sales_volume;
        this.produced_date = produced_date;
        this.category = category;
    }

    /**
     * 获取
     * @return NAME
     */
    public String getNAME() {
        return NAME;
    }

    /**
     * 设置
     * @param NAME
     */
    public void setNAME(String NAME) {
        this.NAME = NAME;
    }

    /**
     * 获取
     * @return price
     */
    public int getPrice() {
        return price;
    }

    /**
     * 设置
     * @param price
     */
    public void setPrice(int price) {
        this.price = price;
    }

    /**
     * 获取
     * @return sales_volume
     */
    public int getSales_volume() {
        return sales_volume;
    }

    /**
     * 设置
     * @param sales_volume
     */
    public void setSales_volume(int sales_volume) {
        this.sales_volume = sales_volume;
    }

    /**
     * 获取
     * @return produced_date
     */
    public Date getProduced_date() {
        return produced_date;
    }

    /**
     * 设置
     * @param produced_date
     */
    public void setProduced_date(Date produced_date) {
        this.produced_date = produced_date;
    }

    /**
     * 获取
     * @return category
     */
    public String getCategory() {
        return category;
    }

    /**
     * 设置
     * @param category
     */
    public void setCategory(String category) {
        this.category = category;
    }

    public String toString() {
        return "Commodity{NAME = " + NAME + ", price = " + price + ", sales_volume = " + sales_volume + ", produced_date = " + produced_date + ", category = " + category + "}";
    }
}
